import store from "@/store";

export const formItemStyle = {
  paddingLeft: "20px",
};

export const cellStyle = {
  background: "rgba(28, 155, 252, 0.02)",
  color: "rgb(142, 155, 185)",
  textAlign: "center",
};

// 表头单元格样式
export const headerCellStyle = {
  background: "rgba(28, 155, 252, 0.02)",
  color: "rgb(142, 155, 185)",
  textAlign: "center",
};
// 表格内表单子样式
export const tableFormStyle = {
  marginBottom: 0,
};
export const formBase = [
  {
    label: "航空公司ID",
    type: "input",
    field: "id",
  },
  {
    label: "航空公司名称",
    type: "input",
    field: "airCompanyName",
  },
];

export const tableBase = [
  {
    label: "ID",
    prop: "id",
    width: 50,
  },
  {
    label: "代码",
    prop: "airCompanyCode",
    width: 200,
    operate: {
      type: "input",
      field: "airCompanyCode",
    },
  },
  {
    label: "名称",
    prop: "airCompanyName",
    width: 200,
    operate: {
      type: "input",
      field: "airCompanyName",
    },
  },
];
